
<extend name="Application/Admin/View/layout.html" />
<block name="mid">
     <div id="page-wrapper">
            <div id="page-inner">
                <div class="row">
                    <div class="col-md-12">
                        <h1 class="page-head-line">商品规格添加</h1>
                        <h1 class="page-subhead-line">This is dummy text , you can replace it with your original text. </h1>

                    </div>
                </div>
                <!-- /. ROW  -->
                <div class="row">

<div class="col-md-6 col-sm-6 col-xs-12">
               <div class="panel panel-danger">
                        <div class="panel-heading">
                           SINGUP FORM
                        </div>
                        <div class="panel-body">
                            <form role="form"  action="" method="post" enctype="multiple/form-data">
                               <div class="form-group">
                                            <label>商品类型</label>
                                            <select class="form-control" name="goods_type_id">
                                                <option value="0">顶级层</option>
                                               <foreach name="goods_type" item="v">

                                                <option value="{$v.id}">{$v.name}</option>
                                                </foreach>
                                            </select>
                                        </div>

                                 <div class="form-group">
                                            <label>名称</label>
                                            <input type="text" class="form-control" name="spec_name">
                                     <p class="help-block">Help text here.</p>
                                        </div>
                                         <div class="form-group">
                                            <label>规格项</label>
                                           <textarea class="form-control" rows="3" name="spec_item"  placeholder="多个以逗号隔开"></textarea>
                                     <p class="help-block">Help text here.</p>
                                        </div>



                                        <button class="btn btn-danger" type="submit">提交 Now </button>

                                    </form>
                            </div>
                        </div>
                            </div>
        </div>
             <!--/.ROW-->


            </div>
            <!-- /. PAGE INNER  -->
        </div>

        </block>
         <block name="js">

        <script type="text/javascript">
            $(function(){

              $('.fontawesome-icon-list a').click(function() {

                 var icon=$(this).text();
                 $('.icon').val(icon);

              });

            })




        </script>






        </block>